<extend name="_layout/main" />
<block name="head">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/assets/css/jasny-bootstrap.min.css" />
	<style type="text/css">
		#thumb~i,
		{
			display: none!important;
		}
	</style>
</block>
<block name="content">
	<div class="page-content">
		<div class="page-breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<i class="fa fa-home"></i>
					<a href="{:U('dashboard/index')}">系统首页</a>
				</li>
				<li>
					<a href="javascript:;">消息管理</a>
				</li>
				<li class="active">发布消息</li>
			</ul>
		</div>
		<div class="page-body">
			<div class="row">
				<div class="col-xs-12 col-md-12">
					<div class="widget">
						<div class="widget-header">
							<span class="widget-caption">发布系统消息</span>
						</div>
						<div class="widget-body">
							<div>
								<div class="tabbable">
									
									<form role="form" class="form-horizontal" method="post" id="addForm">
										<input type="hidden" id="default_photo" name="default_photo" value=""  />
										<div class="tab-content">
											<div id="home" class="tab-pane active">

												<div class="form-group ">
													<label for="title" class="col-sm-2 control-label no-padding-right">标题</label>
													<div class="col-xs-4">
														<input type="text" class="form-control" id="title" name="title">
													</div>
												</div>
												
												<div class="form-group">
													<label for="summary" class="col-sm-2 control-label no-padding-right">消息</label>
													<div class="col-xs-4">
														<textarea class="form-control" rows="5" name="message"></textarea>
													</div>
												</div>												

											</div>
											
											<div class="row">
												<div class="col-sm-offset-2 col-sm-10">

													<button type="submit" class="btn btn-blue ladda-button" data-style="expand-right" id="submitBtn"> <span class="ladda-label">确认发布</span></button>
												</div>
											</div>
										</div>
									</form>
								</div>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</block>

<block name="footer">	
	<script src="__PUBLIC__/assets/js/validation/bootstrapValidator.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/assets/js/holder.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/assets/js/jasny-bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	
</block>